package com.money.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.po.GoldRecord;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 路亚
 * @version 0.1
 * @className GoldRecordMapper
 * @description
 * @date 2024/12/27 16:27
 * @since jdk11
 */
@Mapper
public interface GoldRecordMapper extends BaseMapper<GoldRecord> {

    @Insert("insert into gold_record values (#{id}, #{userId}, #{goldNum}, #{desc}, #{createDate})")
    void insertGoldRecord(GoldRecord goldRecord);
}
